package cn.sms.product.mapper;

import cn.sms.basic.mapper.BaseMapper;
import cn.sms.product.domain.Product;

import java.util.Map;

public interface ProductMapper extends BaseMapper<Product> {

    Product queryByIdDetail(Long productId);

    void onsale(Map map);

    void offSale(Map map);
}
